package com.rongc.client.freight.base.request.api;


import com.android.volley.Request;
import com.android.volley.Response.ErrorListener;
import com.android.volley.Response.Listener;
import com.rongc.client.core.network.api.AbsRequest;
import com.rongc.client.core.network.params.BaseParams;
import com.rongc.client.freight.ApiUrl;
import com.rongc.client.freight.base.request.result.NullResult;


/*
*  发送验证码接口
* */

public class RegisterCodeApi extends AbsRequest<RegisterCodeApi.RegisterCodeParams, NullResult> {

    public RegisterCodeApi(RegisterCodeParams feedbackParams, Listener<NullResult> listener, ErrorListener errorListener) {
        super(Request.Method.POST, ApiUrl.getVerifyCodeUrl(), feedbackParams, listener, errorListener, NullResult.class);
    }

    public static class RegisterCodeParams extends BaseParams {
        public RegisterCodeParams(String phone) {
            put("mobile", phone);

        }
    }


}
